<html>
<head>
	<title>操作成功</title>
	<meta charset='utf-8'>
</head>
<body>
	<div id='message'>
		<?php echo $msg;?>
		<span>3秒后跳转到首页</span>
		<script type="text/javascript">
			setTimeout(function(){
				location.href='index.php';
			},3000);
		</script>
	</div>
	<style type="text/css">
		div#message{
			border:solid 2px green;padding:10px;
		}
		div#message span{
			display:block;font-size:12px;color:#333;
			margin-top:10px;
		}
	</style>
</body>
</html>